package org.raymond.iworks.study.basic.designpattern.adapter.clazz;

/**
 * @author raymond
 * @version V1.0
 * @Description: TODO
 */
public class VoltageAdapter extends Voltage220V implements Voltage5V {
    @Override
    public int output5V() {
        int src = super.output220V();
        int dst = 5;
        System.out.println("电压="+dst+"伏");
        return dst;
    }
}
